package week3;

public class Overload {
	private int x = 5;
	public String toString(){
		return "data member x = " + x;
	}
	public String toString( String str){
		return str + "data member x = " + x;
	}
	public String toString( int y ){
		return y + "data member x = " + x;
	}
	public String toString( int z, int a ){
		return "data member x = " + z;
	}
	public String toString( int a, double z ){
		return "data member x = " + z;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Overload obj = new Overload();
		System.out.println( obj.toString( " The Overload object has " ) );
	}

}
